package com.zwps.biz.dal.db.object;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName t_department
 */
@TableName(value ="t_department")
@Data
public class TDepartmentDO implements Serializable {
    /**
     * 部门ID
     */
    @TableId(value = "DEPARTMENT_ID", type = IdType.AUTO)
    private Integer departmentId;

    /**
     * 部门名称
     */
    @TableField(value = "DEPARTMENT_NAME")
    private String departmentName;

    @TableField(value = "DEPART_CONTENT")
    private String departContent;
    /**
     * 上级部门ID
     */
    @TableField(value = "PARENT_ID")
    private Integer parentId;

    @TableField(value = "duty")
    private String duty;

    /**
     * 
     */
    @TableField(value = "IS_DELETE")
    private Integer isDelete;

    /**
     * 
     */
    @TableField(value = "SORT")
    private Integer sort;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}